[INFO] fetching crate barbican 1.6.0...
[INFO] fixing barbican-1.6.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate barbican 1.6.0 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate barbican 1.6.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate barbican 1.6.0
[INFO] tweaked toml for crates.io crate barbican 1.6.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate barbican 1.6.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate barbican 1.6.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 407fa08d95e2358a459488245b04334eb791b0b59a5b0a1fce8b4afe9f2a9b24
[INFO] running `Command { std: "docker" "start" "407fa08d95e2358a459488245b04334eb791b0b59a5b0a1fce8b4afe9f2a9b24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "407fa08d95e2358a459488245b04334eb791b0b59a5b0a1fce8b4afe9f2a9b24" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "407fa08d95e2358a459488245b04334eb791b0b59a5b0a1fce8b4afe9f2a9b24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "407fa08d95e2358a459488245b04334eb791b0b59a5b0a1fce8b4afe9f2a9b24" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling aws-lc-rs v1.16.3
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]     Checking tokio v1.52.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking chacha20 v0.10.0
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]     Checking anstyle-parse v1.0.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]     Checking rand v0.10.1
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking data-encoding v2.11.0
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking colorchoice v1.0.5
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]    Compiling rmcp v1.5.0
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking moka v0.12.15
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]     Checking prefix-trie v0.8.2
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]     Checking resolv-conf v0.7.6
[INFO] [stderr]    Compiling pastey v0.2.2
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]     Checking deadpool-runtime v0.1.4
[INFO] [stderr]     Checking rusty-fork v0.3.1
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]     Checking assert-json-diff v2.0.2
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]     Checking proptest v1.11.0
[INFO] [stderr]     Checking hickory-proto v0.26.1
[INFO] [stderr]    Compiling aws-lc-sys v0.40.0
[INFO] [stderr]    Compiling tree-sitter-bash v0.25.1
[INFO] [stderr]    Compiling tree-sitter v0.25.0
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling rmcp-macros v1.5.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking schemars v1.2.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking hickory-net v0.26.1
[INFO] [stderr]     Checking deadpool v0.12.3
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking hickory-resolver v0.26.1
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking wiremock v0.6.5
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking rustls-platform-verifier v0.7.0
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking reqwest v0.13.3
[INFO] [stderr]     Checking barbican v1.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/mcp/safe_read.rs (2 fixes)
[INFO] [stderr]        Fixed src/mcp/safe_fetch.rs (1 fix)
[INFO] [stderr]        Fixed src/scan.rs (4 fixes)
[INFO] [stderr]        Fixed src/audit_io.rs (3 fixes)
[INFO] [stderr]        Fixed src/lib.rs (5 fixes)
[INFO] [stderr]        Fixed src/net.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/mcp/safe_fetch.rs:102:43
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let resolver = ProductionResolver::new()?;
[INFO] [stdout]     |         --------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `resolver` calls a custom destructor
[INFO] [stdout]     |         `resolver` will be dropped later as of Edition 2024
[INFO] [stdout] 102 |     fetch_with(url, max_bytes, &resolver).await
[INFO] [stdout]     |                                           ^^^^^
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 103 | }
[INFO] [stdout]     | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `resolver` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/src/future/future/shared.rs:383:1
[INFO] [stdout]     |
[INFO] [stdout] 383 | / impl<Fut> Drop for Shared<Fut>
[INFO] [stdout] 384 | | where
[INFO] [stdout] 385 | |     Fut: Future,
[INFO] [stdout]     | |________________^
[INFO] [stdout] note: `resolver` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/task/join_set.rs:591:1
[INFO] [stdout]     |
[INFO] [stdout] 591 | impl<T> Drop for JoinSet<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `resolver` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.32/src/mpsc/mod.rs:980:1
[INFO] [stdout]     |
[INFO] [stdout] 980 | impl<T> Drop for BoundedSenderInner<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `resolver` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/moka-0.12.15/src/cht/segment.rs:525:1
[INFO] [stdout]     |
[INFO] [stdout] 525 | impl<K, V, S> Drop for HashMap<K, V, S> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `resolver` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/moka-0.12.15/src/sync/base_cache.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | impl<K, V, S> Drop for BaseCache<K, V, S> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/mcp/safe_fetch.rs:362:29
[INFO] [stdout]     |
[INFO] [stdout] 362 |     while let Some(chunk) = resp.chunk().await.map_err(FetchError::Send)? {
[INFO] [stdout]     |                    -----    ------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |        |            |
[INFO] [stdout]     |                    |        |            this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                    |        |            up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                    |        |            this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                    |        |            `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                    |        this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                    |        up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                    |        this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                    |        up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                    |        `__awaitee` calls a custom destructor
[INFO] [stdout]     |                    |        `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     |                    `chunk` calls a custom destructor
[INFO] [stdout]     |                    `chunk` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 372 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `chunk` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/mcp/safe_fetch.rs:102:43
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let resolver = ProductionResolver::new()?;
[INFO] [stdout]     |         --------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `resolver` calls a custom destructor
[INFO] [stdout]     |         `resolver` will be dropped later as of Edition 2024
[INFO] [stdout] 102 |     fetch_with(url, max_bytes, &resolver).await
[INFO] [stdout]     |                                           ^^^^^
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 103 | }
[INFO] [stdout]     | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `resolver` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/src/future/future/shared.rs:383:1
[INFO] [stdout]     |
[INFO] [stdout] 383 | / impl<Fut> Drop for Shared<Fut>
[INFO] [stdout] 384 | | where
[INFO] [stdout] 385 | |     Fut: Future,
[INFO] [stdout]     | |________________^
[INFO] [stdout] note: `resolver` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/task/join_set.rs:591:1
[INFO] [stdout]     |
[INFO] [stdout] 591 | impl<T> Drop for JoinSet<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `resolver` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.32/src/mpsc/mod.rs:980:1
[INFO] [stdout]     |
[INFO] [stdout] 980 | impl<T> Drop for BoundedSenderInner<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `resolver` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/moka-0.12.15/src/cht/segment.rs:525:1
[INFO] [stdout]     |
[INFO] [stdout] 525 | impl<K, V, S> Drop for HashMap<K, V, S> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `resolver` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/moka-0.12.15/src/sync/base_cache.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | impl<K, V, S> Drop for BaseCache<K, V, S> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/mcp/safe_fetch.rs:362:29
[INFO] [stdout]     |
[INFO] [stdout] 362 |     while let Some(chunk) = resp.chunk().await.map_err(FetchError::Send)? {
[INFO] [stdout]     |                    -----    ------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |        |            |
[INFO] [stdout]     |                    |        |            this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                    |        |            up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                    |        |            this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                    |        |            `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                    |        this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                    |        up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                    |        this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                    |        up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                    |        `__awaitee` calls a custom destructor
[INFO] [stdout]     |                    |        `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     |                    `chunk` calls a custom destructor
[INFO] [stdout]     |                    `chunk` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 372 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `chunk` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/install.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/barbican-perl.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/safe_fetch.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed tests/safe_fetch.rs (15 fixes)
[INFO] [stderr]    Migrating src/bin/barbican-shell.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/barbican-python.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/parser.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/pre_bash_m2.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/pre_bash_h1.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/barbican-ruby.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/pre_bash_h2.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/explain.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/wrappers.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/barbican-node.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/post_mcp.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/safe_read.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed tests/safe_read.rs (55 fixes)
[INFO] [stderr]    Migrating tests/post_edit.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/fuzz_properties.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/linux_repro.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/inspect.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/linux_crash_bisect.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/post_advisory_injection.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/pre_bash_m1.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/post_advisory_audit_symlink.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/wrappers_1_5_2.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/audit.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/pre_bash_1_5_1.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/sanitize_1_5_3.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.74s
[INFO] [stderr] crater-edition-check: barbican v1.6.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking barbican v1.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/audit_io.rs:400:9
[INFO] [stdout]     |
[INFO] [stdout] 400 |         unsafe { std::env::set_var("HOME", &fake_home) };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unsafe-code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/audit_io.rs:422:24
[INFO] [stdout]     |
[INFO] [stdout] 422 |             Some(h) => unsafe { std::env::set_var("HOME", h) },
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/audit_io.rs:424:21
[INFO] [stdout]     |
[INFO] [stdout] 424 |             None => unsafe { std::env::remove_var("HOME") },
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/mcp/safe_read.rs:849:9
[INFO] [stdout]     |
[INFO] [stdout] 849 |         unsafe { std::env::set_var("HOME", "/tmp/fake-home") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/mcp/safe_read.rs:852:9
[INFO] [stdout]     |
[INFO] [stdout] 852 |         unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/net.rs:635:9
[INFO] [stdout]     |
[INFO] [stdout] 635 |         unsafe { std::env::remove_var("BARBICAN_ALLOW_IP_LITERALS") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/scan.rs:494:9
[INFO] [stdout]     |
[INFO] [stdout] 494 |         unsafe { std::env::set_var("BARBICAN_SCAN_MAX_BYTES", "8192") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/scan.rs:497:9
[INFO] [stdout]     |
[INFO] [stdout] 497 |         unsafe { std::env::remove_var("BARBICAN_SCAN_MAX_BYTES") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/scan.rs:510:13
[INFO] [stdout]     |
[INFO] [stdout] 510 |             unsafe { std::env::set_var("BARBICAN_SCAN_MAX_BYTES", bad) };
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/scan.rs:518:9
[INFO] [stdout]     |
[INFO] [stdout] 518 |         unsafe { std::env::remove_var("BARBICAN_SCAN_MAX_BYTES") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> src/lib.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             unsafe { std::env::set_var(name, truthy) };
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> src/lib.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         unsafe { std::env::remove_var(name) };
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> src/lib.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         unsafe { std::env::remove_var(name) };
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> src/lib.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |             unsafe { std::env::set_var(name, falsy) };
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> src/lib.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         unsafe { std::env::remove_var(name) };
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> tests/safe_read.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unsafe-code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> tests/safe_read.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_EXTRA_DENY") };
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> tests/safe_read.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW") };
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |     unsafe { std::env::set_var("HOME", &fake_home) };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 194 |     unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 |     unsafe { std::env::set_var("HOME", home.path()) };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 211 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:213:5
[INFO] [stdout]     |
[INFO] [stdout] 213 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_EXTRA_DENY") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 215 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:218:5
[INFO] [stdout]     |
[INFO] [stdout] 218 |     unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:231:5
[INFO] [stdout]     |
[INFO] [stdout] 231 |     unsafe { std::env::set_var("HOME", home.path()) };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:233:5
[INFO] [stdout]     |
[INFO] [stdout] 233 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:236:5
[INFO] [stdout]     |
[INFO] [stdout] 236 |     unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:244:5
[INFO] [stdout]     |
[INFO] [stdout] 244 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:253:5
[INFO] [stdout]     |
[INFO] [stdout] 253 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:293:5
[INFO] [stdout]     |
[INFO] [stdout] 293 |     unsafe { std::env::set_var("HOME", home.path()) };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:295:5
[INFO] [stdout]     |
[INFO] [stdout] 295 |     unsafe { std::env::set_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE", "1") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:298:5
[INFO] [stdout]     |
[INFO] [stdout] 298 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:300:5
[INFO] [stdout]     |
[INFO] [stdout] 300 |     unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:315:5
[INFO] [stdout]     |
[INFO] [stdout] 315 | /     unsafe { std::env::set_var(
[INFO] [stdout] 316 | |         "BARBICAN_SAFE_READ_EXTRA_DENY",
[INFO] [stdout] 317 | |         dir.path().to_str().unwrap(),
[INFO] [stdout] 318 | |     ) };
[INFO] [stdout]     | |_______^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:321:5
[INFO] [stdout]     |
[INFO] [stdout] 321 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_EXTRA_DENY") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:339:5
[INFO] [stdout]     |
[INFO] [stdout] 339 |     unsafe { std::env::set_var("HOME", home.path()) };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:341:5
[INFO] [stdout]     |
[INFO] [stdout] 341 |     unsafe { std::env::set_var("BARBICAN_SAFE_READ_ALLOW", p.to_str().unwrap()) };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:344:5
[INFO] [stdout]     |
[INFO] [stdout] 344 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:346:5
[INFO] [stdout]     |
[INFO] [stdout] 346 |     unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:369:9
[INFO] [stdout]     |
[INFO] [stdout] 369 |         unsafe { std::env::set_var("HOME", home.path()) };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:371:9
[INFO] [stdout]     |
[INFO] [stdout] 371 |         unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:374:9
[INFO] [stdout]     |
[INFO] [stdout] 374 |         unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:386:5
[INFO] [stdout]     |
[INFO] [stdout] 386 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:419:5
[INFO] [stdout]     |
[INFO] [stdout] 419 |     unsafe { std::env::set_var("HOME", home.path()) };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:421:5
[INFO] [stdout]     |
[INFO] [stdout] 421 |     unsafe { std::env::set_var("BARBICAN_SAFE_READ_ALLOW", allowed.to_str().unwrap()) };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:423:5
[INFO] [stdout]     |
[INFO] [stdout] 423 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:426:5
[INFO] [stdout]     |
[INFO] [stdout] 426 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:428:5
[INFO] [stdout]     |
[INFO] [stdout] 428 |     unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     unsafe { std::env::set_var("BARBICAN_SAFE_READ_EXTRA_DENY", "innocuous.txt") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:452:5
[INFO] [stdout]     |
[INFO] [stdout] 452 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:455:5
[INFO] [stdout]     |
[INFO] [stdout] 455 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_EXTRA_DENY") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:470:5
[INFO] [stdout]     |
[INFO] [stdout] 470 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:486:5
[INFO] [stdout]     |
[INFO] [stdout] 486 |     unsafe { std::env::set_var("HOME", home.path()) };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:488:5
[INFO] [stdout]     |
[INFO] [stdout] 488 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:491:5
[INFO] [stdout]     |
[INFO] [stdout] 491 |     unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:500:5
[INFO] [stdout]     |
[INFO] [stdout] 500 |     unsafe { std::env::set_var("HOME", home.path()) };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:502:5
[INFO] [stdout]     |
[INFO] [stdout] 502 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:505:5
[INFO] [stdout]     |
[INFO] [stdout] 505 |     unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:514:5
[INFO] [stdout]     |
[INFO] [stdout] 514 |     unsafe { std::env::set_var("HOME", home.path()) };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:516:5
[INFO] [stdout]     |
[INFO] [stdout] 516 |     unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:525:5
[INFO] [stdout]     |
[INFO] [stdout] 525 |     unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:587:9
[INFO] [stdout]     |
[INFO] [stdout] 587 |         unsafe { std::env::set_var("HOME", home.path()) };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:589:9
[INFO] [stdout]     |
[INFO] [stdout] 589 |         unsafe { std::env::set_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE", "1") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:592:9
[INFO] [stdout]     |
[INFO] [stdout] 592 |         unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:594:9
[INFO] [stdout]     |
[INFO] [stdout] 594 |         unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:622:9
[INFO] [stdout]     |
[INFO] [stdout] 622 |         unsafe { std::env::set_var("HOME", home.path()) };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:624:9
[INFO] [stdout]     |
[INFO] [stdout] 624 |         unsafe { std::env::set_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE", "1") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:627:9
[INFO] [stdout]     |
[INFO] [stdout] 627 |         unsafe { std::env::remove_var("BARBICAN_SAFE_READ_ALLOW_SENSITIVE") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> tests/safe_read.rs:629:9
[INFO] [stdout]     |
[INFO] [stdout] 629 |         unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `barbican` (test "safe_read") due to 55 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `barbican` (lib test) due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "407fa08d95e2358a459488245b04334eb791b0b59a5b0a1fce8b4afe9f2a9b24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "407fa08d95e2358a459488245b04334eb791b0b59a5b0a1fce8b4afe9f2a9b24", kill_on_drop: false }`
[INFO] [stdout] 407fa08d95e2358a459488245b04334eb791b0b59a5b0a1fce8b4afe9f2a9b24
